Add-RASVDIPoolMember

NAME

Add-RASVDIPoolMember

SYNOPSIS

Adds one or multiple VDI Pool Members to a VDI Pool.

SYNTAX

Add-RASVDIPoolMember [-VDIPoolName] <string> [[-SiteId] <uint>] -Name <string> -Type <VDIPoolMemberType> {ALLGUESTSONPROVIDER | ALLGUESTINHOST | GUEST | NATIVEPOOL | TEMPLATEGUEST | UNKNOWN} [-NativePoolId <string>] [-ProviderId <uint>] [-VDIGuestId <string>] [-VDITemplateId <uint>] [<CommonParameters>]

Add-RASVDIPoolMember [-VDIPoolId] <uint> -Name <string> -Type <VDIPoolMemberType> {ALLGUESTSONPROVIDER | ALLGUESTINHOST | GUEST | NATIVEPOOL | TEMPLATEGUEST | UNKNOWN} [-NativePoolId <string>] [-ProviderId <uint>] [-VDIGuestId <string>] [-VDITemplateId <uint>] [<CommonParameters>]

Add-RASVDIPoolMember [-InputObject] <VDIPool> -Name <string> -Type <VDIPoolMemberType> {ALLGUESTSONPROVIDER | ALLGUESTINHOST | GUEST | NATIVEPOOL | TEMPLATEGUEST | UNKNOWN} [-NativePoolId <string>] [-ProviderId <uint>] [-VDIGuestId <string>] [-VDITemplateId <uint>] [<CommonParameters>]

DESCRIPTION

Adds one or multiple VDI Pool Members to an existing VDI Pool.

PARAMETERS


-Type <VDIPoolMemberType>
The VDI Pool Member Type.

The type can either be: ALLGUESTSONPROVIDER, GUEST, NATIVEPOOL or TEMPLATEGUEST.

Possible values: ALLGUESTSONPROVIDER, ALLGUESTINHOST, GUEST, NATIVEPOOL, TEMPLATEGUEST, UNKNOWN

        Required?                    true
        Position?                    named
        Default value                ALLGUESTSONPROVIDER
        Accept pipeline input?       false
        Accept wildcard characters?  false

-Name <string>
The VDI Pool Member Name.

        Required?                    true
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-ProviderId <uint>
The VDI Pool Member Provider ID.

This parameter is only accepted with Types: ALLGUESTSONPROVIDER, GUEST or NATIVEPOOL.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-VDIGuestId <string>
The VDI Pool Member Guest ID.

This parameter is only accepted with Type: GUEST.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-NativePoolId <string>
The VDI Pool Member Native Pool ID.

This parameter is only accepted with Type: NATIVEPOOL.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-VDITemplateId <uint>
The VDI Pool Member Template ID.

This parameter is only accepted with Type: TEMPLATEGUEST.

        Required?                    false
        Position?                    named
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-VDIPoolName <string>
The VDI Pool name.

        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       false
        Accept wildcard characters?  false

-SiteId <uint>
Site ID where the VDI Pool is located.

If the parameter is omitted, the site ID of the Licensing Server will be used.

        Required?                    false
        Position?                    1
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-VDIPoolId <uint>
The VDI Pool ID.

        Required?                    true
        Position?                    0
        Default value                0
        Accept pipeline input?       false
        Accept wildcard characters?  false

-InputObject <VDIPool>
An object of type VDIPool identifying the target VDI Pool.

The object is obtained using the Get-VDIPool cmdlet.

        Required?                    true
        Position?                    0
        Default value                
        Accept pipeline input?       true (ByValue)
        Accept wildcard characters?  false

<CommonParameters>
        This cmdlet supports the common parameters: Verbose, Debug,
        ErrorAction, ErrorVariable, WarningAction, WarningVariable,
        OutBuffer, PipelineVariable, and OutVariable. For more information, see 
        about_CommonParameters documentation. 

INPUTS

VDIPool

OUTPUTS

-none-

EXAMPLES


---------- EXAMPLE 1 ----------

Add-RASVDIPoolMember -VDIPoolName "My VDI Pool" -Type ALLGUESTSONPROVIDER -Name "MY VDI Pool Member" -ProviderId 1

Adds the specified VDI Pool Member to the specified VDI Pool.

The Type ALLGUESTSONPROVIDER requires the ProviderId to be specified.

---------- EXAMPLE 2 ----------

Add-RASVDIPoolMember -VDIPoolName "My VDI Pool" -Type GUEST -Name "MY VDI Pool Member" -ProviderId 1 -VDIGuestId 42312685-05c9-ca51-342d-b3943046edf1

Adds the specified VDI Pool Member to the specified VDI Pool.

The Type GUEST requires the ProviderId and VDIGuestId to be specified.

---------- EXAMPLE 3 ----------

Add-RASVDIPoolMember -VDIPoolName "My VDI Pool" -Type NATIVEPOOL -Name "MY VDI Pool Member" -ProviderId 1 -NativePoolId 1

Adds the specified VDI Pool Member to the specified VDI Pool.

The Type NATIVEPOOL requires the ProviderId and NativePoolId to be specified.

---------- EXAMPLE 4 ----------

Add-RASVDIPoolMember -VDIPoolName "My VDI Pool" -Type TEMPLATEGUEST -Name "MY VDI Pool Member" -VDITemplateId 1

Adds the specified VDI Pool Member to the specified VDI Pool.

The Type TEMPLATEGUEST requires the VDITemplateId to be specified.

RELATED LINKS